<?php
/* @var $this VideoController */
/* @var $model Video */

$this->breadcrumbs=array(
	'Videos'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'多媒体分类', 'url'=>array('category/admin')),
    array('label'=>'创建分类', 'url'=>array('category/create')),
    array('label'=>'多媒体列表', 'url'=>array('admin')),
    array('label'=>'创建多媒体', 'url'=>array('create')),
);
?>

<h1>显示</h1>

<div class="Action">
    <a href="<?php echo Yii::app()->request->urlReferrer; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/admin/jiantou.png" style=""></a>
</div>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
    'itemCssClass'=>array('oddtablscss', 'eventablecss'),
	'attributes'=>array(
		'id',
		'title', 
		'content',
        array(
            'name'=>'cover',
            'value'=>CHtml::image(".".$model->cover,'',array("width"=>422)),
            'type'=>'raw',
        ), 
        'url',
        array(
            'name'=>'filesize',
            'value'=>($model->filesize), 
        ), 
	    array(
            'name'=>'hit',
            'value'=>($model->hit)."次", 
        ), 
		array(
            'name'=>'downloads',
            'value'=>($model->downloads)."次", 
        ), 
		'category.name',
		'createtime',
	),
)); ?>
